@use './base';

.layout-content {
  .el-aside {
    height: 100vh;
    transition: width .6s ease-out;
    -webkit-transition: width .6s ease-out; /* Safari */
    .sidebar-content {
      background-color: var(--menu-bg-color);
      height: 100%;
      display: flex;
      flex-direction: column;

      .logo-content {
        position: relative;
        width: 100%;
        height: var(--header-height);
        line-height: var(--header-height);
        background: var(--menu-logo-bg-color);
        text-align: center;
        overflow: hidden;

        .logo-image {
          flex-direction: column;
          height: 100%;
          width: 30px;
        }

        .logo-text {
          margin-left: 12px;
          font-size: var(--el-font-size-large);
          font-weight: bold;
          color: var(--el-color-white)
        }
      }

      .el-scrollbar__view {
        flex: 1;
        display: flex;
        flex-direction: column;

        .el-menu {
          border: none;
          --el-menu-text-color: var(--el-color-white);
          --el-menu-bg-color: var(--menu-bg-color);
          --el-menu-hover-bg-color: var(--el-color-primary-light-4);
          flex: 1;

        }
      }
    }
  }

  .el-main {
    .setting-content {
      .el-drawer{
        width: 200px!important;
      }
      .setting-button{
        position: fixed;
        top: 25%;
        right: 0;
        float: right;
        border-radius: 8px 0 0 8px;
        padding: 10px;
        box-shadow: var(--el-box-shadow-base);
        background-color: var(--el-color-white);
      }
      .setting-button:hover{
        color:  var(--el-color-white);
        background-color: var(--el-color-primary);
      }
    }

  }

  .el-header {
    --el-header-height: var(--header-height)+30px;
    padding: 0;

    .tabs-view {
      display: flex;
      align-items: center;
      background-color: var(--el-color-white);
      padding: 0;
      margin: 0;

      .tabs-view-item {
        line-height: 25px;
        height: 25px;
        font-size: var(--el-font-size-small);
        margin: 5px 3px;
        padding: 0 10px;
        color: var(--el-text-color-primary);
        background-color: var(--el-color-white);
        border: var(--el-border-base);
        list-style: none;
        display: flex;
        align-items: center;

        .el-icon {
          margin-left: 5px;
        }
      }

      .tabs-view-item:hover {
        cursor: pointer;
        background-color: var(--el-color-primary);
        padding: 0 10px;
        color: var(--el-color-white);
      }

      .is-active {
        background-color: var(--el-color-primary);
        padding: 0 10px;
        color: var(--el-color-white);
      }
    }

    .header-bar-content {
      height: var(--header-height);
      background-color: var(--header-bg-color);
      color: var(--el-text-color-regular);
      padding: 0 20px;
      border-bottom: var(--el-border-base);
    }
  }
}
